package com.sanmina.route.entity;

public class RouteStep {
	private Integer routeKey;

	private Integer step;

	private Integer locationKey;

	private Integer insertedRoute = 0;
	
	private Integer passLoctionKey = 0;

	private Integer failLocationKey = 0;

	private Integer fromLocationKey1 = 0;
	private Integer fromLocationKey2 =0;
	private Integer fromLocationKey3 = 0 ;
	private Integer fromLocationKey4= 0;
	private Integer createUnit = 0;
	
	public RouteStep() {
	}
	
	public RouteStep(Integer routeKey, Integer step, Integer locationKey, Integer insertedRoute, Integer passLoctionKey,
			Integer failLocationKey, Integer fromLocationKey1, Integer fromLocationKey2, Integer fromLocationKey3,
			Integer fromLocationKey4, Integer createUnit) {
		this.routeKey = routeKey;
		this.step = step;
		this.locationKey = locationKey;
		this.insertedRoute = insertedRoute;
		this.passLoctionKey = passLoctionKey;
		this.failLocationKey = failLocationKey;
		this.fromLocationKey1 = fromLocationKey1;
		this.fromLocationKey2 = fromLocationKey2;
		this.fromLocationKey3 = fromLocationKey3;
		this.fromLocationKey4 = fromLocationKey4;
		this.createUnit = createUnit;
	}
	public Integer getRouteKey() {
		return routeKey;
	}
	public void setRouteKey(Integer routeKey) {
		this.routeKey = routeKey;
	}
	public Integer getStep() {
		return step;
	}
	public void setStep(Integer step) {
		this.step = step;
	}
	
	public Integer getInsertedRoute() {
		return insertedRoute;
	}
	public void setInsertedRoute(Integer insertedRoute) {
		this.insertedRoute = insertedRoute;
	}
	public Integer getLocationKey() {
		return locationKey;
	}
	public void setLocationKey(Integer locationKey) {
		this.locationKey = locationKey;
	}
	public Integer getPassLoctionKey() {
		return passLoctionKey;
	}
	public void setPassLoctionKey(Integer passLoctionKey) {
		this.passLoctionKey = passLoctionKey;
	}
	public Integer getFailLocationKey() {
		return failLocationKey;
	}
	public void setFailLocationKey(Integer failLocationKey) {
		this.failLocationKey = failLocationKey;
	}
	public Integer getFromLocationKey1() {
		return fromLocationKey1;
	}
	public void setFromLocationKey1(Integer fromLocationKey1) {
		this.fromLocationKey1 = fromLocationKey1;
	}
	public Integer getFromLocationKey2() {
		return fromLocationKey2;
	}
	public void setFromLocationKey2(Integer fromLocationKey2) {
		this.fromLocationKey2 = fromLocationKey2;
	}
	public Integer getFromLocationKey3() {
		return fromLocationKey3;
	}
	public void setFromLocationKey3(Integer fromLocationKey3) {
		this.fromLocationKey3 = fromLocationKey3;
	}
	public Integer getFromLocationKey4() {
		return fromLocationKey4;
	}
	public void setFromLocationKey4(Integer fromLocationKey4) {
		this.fromLocationKey4 = fromLocationKey4;
	}
	public Integer getCreateUnit() {
		return createUnit;
	}
	public void setCreateUnit(Integer createUnit) {
		this.createUnit = createUnit;
	}

	@Override
	public String toString() {
		return "RouteStep [routeKey=" + routeKey + ", step=" + step + ", locationKey=" + locationKey
				+ ", insertedRoute=" + insertedRoute + ", passLoctionKey=" + passLoctionKey + ", failLocationKey="
				+ failLocationKey + ", fromLocationKey1=" + fromLocationKey1 + ", fromLocationKey2=" + fromLocationKey2
				+ ", fromLocationKey3=" + fromLocationKey3 + ", fromLocationKey4=" + fromLocationKey4 + ", createUnit="
				+ createUnit + "]";
	}
	
	
}
